<style include="cups-printer-shared">
  [slot=dialog-body] {
    height: 90px;
  }
  [slot=dialog-buttons] {
    width: auto;
  }
</style>
<add-printer-dialog id="printServerDialog">
  <div slot="dialog-title">
    $i18n{addPrintServerTitle}
    <printer-dialog-error id="server-dialog-error"
        error-text="[[errorText_]]">
    </printer-dialog-error>
  </div>
  <div slot="dialog-body">
    <div class="settings-box first two-line">
      <cr-input id="printServerAddressInput"
          label="$i18n{printServerAddress}"
          value="{{printServerAddress_}}"
          error-message="$i18n{printServerInvalidUrlAddress}"
          on-keypress="onKeypress_"
          maxlength=63 autofocus>
      </cr-input>
    </div>
  </div>
  <div slot="dialog-buttons">
    <cr-button class="cancel-button" on-click="onCancelTap_">
      $i18n{cancel}
    </cr-button>
    <cr-button class="action-button"
        on-click="onAddPrintServerTap_"
        disabled="[[inProgress_]]">
      $i18n{addPrinterButtonText}
    </cr-button>
  </div>
</add-printer-dialog>
